package com.huaxin.hxmodulemqtt.models;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "mqtt")
@Data  // Lombok
public class MqttProperties {
    private String host;
    private String username;
    private String password;
    private String clientId;
    private String defaultTopic;
    private int qos = 1;
}